package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Purse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PurseMapper {


    Purse selectByDriverCode(String driverCode);

    void updateCash(@Param("driverCode")String driverCode,@Param("cash") Double cash);

    List<Purse> selectByList();

    void updatePurse(Purse purse);
}
